package cn.ncu.wechat.service;

import cn.ncu.wechat.model.User;
import cn.ncu.wechat.vo.UserVo;
import cn.ncu.wechat.util.Result;
import com.auth0.jwt.interfaces.DecodedJWT;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 
 * @description 针对表【user(用户表)】的数据库操作Service
 * @createDate 2025-01-07 14:39:44
 */
public interface UserService extends IService<User> {
    Result<?> login(UserVo u, String code);

    Result<?> getUserInfo(String token);

    Result<?> searchUserListByKeyWord(String keyword,Integer page,Integer pageSize);

    Result<?> getRegisterRecord(Integer page,Integer pageSize,String starDate,String endDate);
    Result<?> getMemberDetail(Integer id);

    Result<?> getMemberOrders(Long id,Integer page,Integer pageSize,Integer status);

    boolean checkURL(DecodedJWT decodedJWT);

    Result<?> CountMember();
}
